package vip.youngboy.freejump.parse.user;

import com.google.common.collect.Sets;
import vip.youngboy.freejump.domain.process.ChooseResult;

import java.util.Set;

public abstract class AbstractUserSettingParse implements UserSettingParse {
    @Override
    public Set<String> parse(ChooseResult chooseResult) {
        if (chooseResult == null) {
            return Sets.newHashSet();
        }
        return doParse(chooseResult);
    }

    public abstract Set<String> doParse(ChooseResult chooseResult);
}
